<template>
    <div class="model-form">
        <el-page-header @back="goBack" content="详情">
        </el-page-header>
        <el-form class="viewForm" label-width="80px">
                    <el-col :span="22">
                        <el-form-item label="职位名称">
                            <div v-html="viewModel.name"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="招聘人数">
                            <div v-html="viewModel.num"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="工资">
                            <div v-html="viewModel.wages"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="工作城市">
                            <div v-html="viewModel.workCity"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="联系方式">
                            <div v-html="viewModel.contactData"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="岗位职责">
                            <div v-html="viewModel.duty"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="岗位要求">
                            <div v-html="viewModel.note"></div>
                        </el-form-item>
                    </el-col>
        </el-form>
    </div>
</template>

<script setup>
    import {useShow} from "@/utils/useShow";
    const { goBack,viewModel} = useShow("/job/view")
</script>

<style scoped>

</style>